package com.ciaojian.core.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author Atlakyn
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("d_advertisement")
public class Advertisement extends Model<Advertisement> {
    private Integer id;

    private String name;

    private Date startTime;

    private Date endTime;

    private Integer status;

    private String style;

    private String jumpUrl;

    private String popPosition;

    private String label;

    private Integer type;

    /**
     * 投放门店
     */
    private String storeId;

    private Integer open;

    private String openRate;

    private Integer exposure;

    private Integer isDel;

    @ApiModelProperty("弹窗顺序")
    private Integer sort;

    private Date createTime;

    private Date updateTime;
}
